import request from "@/common/request"

//合同类型表分页展示
export const contracttypePage = (queryForm) => {
    return request("get", "/contractType/contractType/page", queryForm);
}
//合同类型表列表展示
export const contracttypeList = (queryForm) => {
    return request("get", "/contractType/contractType/list", queryForm);
}
//合同类型表详情
export const contracttypeInfo = (id) => {
    return request('get', '/contractType/contractType/info', {
        id: id
    })
}
//合同类型表信息保存
export const contracttypeSave = (data) => {
    return request('post', '/contractType/contractType/save', data)
}
//合同类型表信息修改
export const contracttypeEdit = (data) => {
    return request('post', '/contractType/contractType/edit', data)
}
//合同类型表信息删除
export const contracttypeDel = (id) => {
    return request('post', '/contractType/contractType/delete?id=' + id)
}
//合同类型表批量删除
export const contracttypeDelBatch = (ids) => {
    return request('post', '/contractType/contractType/deleteBatch', ids)
}
//合同类型表动态表头导出
export const contracttypeDynamicExport = (data) => {
    return request("eptpost", '/contractType/contractType/exportDynamic', data)
}
